/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.material.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.modules.library.bo.AutoExtractParamBO;
import org.springblade.modules.material.entity.PaperAnswerEntity;
import org.springblade.modules.material.entity.PaperReleaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 试卷发布表 视图实体类
 * @author Kris
 * @since 2023-04-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PaperReleaseVO extends PaperReleaseEntity {
	private static final long serialVersionUID = 1L;

	private String examStatus;//考试状态 未开始、进行中、已结束
	private List<PaperReleaseDetailVO> paperReleaseDetailList;
	private Long userId;
	private String submitToken;//提交的权限token

	private Float score;//学员作答成绩
	private Integer isReview;//是否已批阅

	private String userName;//用户名称
	private String idCard;//证件号码
	private long residueNum;//剩余考试次数

	/**
	 * 规则组题
	 */
	private List<AutoExtractParamBO> ruleList;

	private String searchStartTime;
	private String searchEndTime;
	private List<PaperAnswerEntity> children;

}
